import persist from 'pinia-plugin-persistedstate'
import { createPinia } from 'pinia'
const pinia = createPinia()
pinia.use(persist)

export default pinia

// 按需导出模块所有数据
export * from './modules/user'
export * from './modules/product'
export * from './modules/productTypes'
export * from './modules/nearbyProduct'
export * from './modules/mineProduct'
export * from './modules/productDetail'
export * from './modules/chatMessage'

